]> dgit.raspbian.org Git - gnome-shell.git/log
gnome-shell.git
7 years agocleanup: Use Array.includes() to check for element existence
Florian Müllner [Sat, 14 Jul 2018 20:56:22 +0000 (22:56 +0200)]
cleanup: Use Array.includes() to check for element existence

We can use that newer method where we don't care about the actual position
of an element inside the array.

(Array.includes() and Array.indexOf() do behave differently in edge cases,
for example in the handling of NaN, but those don't matter to us)

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/152

7 years agokeyboard: Remove unnecessary boolean cast
Florian Müllner [Sat, 29 Jun 2019 22:33:20 +0000 (00:33 +0200)]
keyboard: Remove unnecessary boolean cast

In contexts where a statement (like if or while) expects a condition,
any expression will be implicitly cast to boolean already without
C-isms like double negation.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/606

7 years agorunDialog: Don't return from finally block
Florian Müllner [Mon, 4 Feb 2019 12:22:41 +0000 (13:22 +0100)]
runDialog: Don't return from finally block

Control flow statements like return, break or continue are considered
unsafe in finally blocks, as they take precendence over any control
flow statement in the try and catch blocks, which may be unexpected.

This isn't the case here as the statement in the finally block is the
only one, but we can just as well avoid the finally block altogether
and use a regular return statement.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/606

7 years agopopupMenu: Use regular method style
Florian Müllner [Sat, 29 Jun 2019 15:47:33 +0000 (17:47 +0200)]
popupMenu: Use regular method style

We don't define methods on a single line anywhere else, so don't do
that here either for consistency.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/606

7 years agopopupMenu: Use consistent registerClass() style
Florian Müllner [Sat, 29 Jun 2019 13:04:13 +0000 (15:04 +0200)]
popupMenu: Use consistent registerClass() style

We don't add a line break between parameters and class elsewhere,
so be consistent with that.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/606

7 years agolocatePointer: Use constant for GSettings key
Florian Müllner [Sat, 29 Jun 2019 13:22:44 +0000 (15:22 +0200)]
locatePointer: Use constant for GSettings key

The constant is defined, so use it.

Spotted by eslint.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/606

7 years agoripples: Remove unreachable return statements
Florian Müllner [Sat, 29 Jun 2019 12:36:13 +0000 (14:36 +0200)]
ripples: Remove unreachable return statements

Throwing an exception stops execution of the current function,
so the following return statements are both unnecessary and
unreachable.

Spotted by eslint.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/606

7 years agotelepathyClient: Don't redeclare N_()
Florian Müllner [Sat, 29 Jun 2019 12:34:46 +0000 (14:34 +0200)]
telepathyClient: Don't redeclare N_()

It is already defined globally via environment.js.

Spotted by eslint.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/606

7 years agolocatePointer: Capitalize class name
Florian Müllner [Sat, 29 Jun 2019 12:30:23 +0000 (14:30 +0200)]
locatePointer: Capitalize class name

... according to our coding style.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/606

7 years agologinDialog: Return consistently from arrow function
Florian Müllner [Tue, 12 Feb 2019 10:41:06 +0000 (11:41 +0100)]
loginDialog: Return consistently from arrow function

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/606

7 years agoshellMountOperation: Remove unused functions
Florian Müllner [Thu, 31 Jan 2019 23:53:51 +0000 (00:53 +0100)]
shellMountOperation: Remove unused functions

Spotted by eslint.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/606

7 years agobatch: Add missing import
Florian Müllner [Sat, 29 Jun 2019 12:18:34 +0000 (14:18 +0200)]
batch: Add missing import

Commit 88697add1b55c missed adding the necessary import.

Spotted by eslint.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/606

7 years agoaltTab: Remove get_preferred_width override of AppIcon
Jonas Dreßler [Thu, 20 Jun 2019 21:10:26 +0000 (23:10 +0200)]
altTab: Remove get_preferred_width override of AppIcon

This vfunc override has been introduced to ensure app icons are always
squared, but since the container of the AppIcon gets a square allocation
anyway if the 'square' property of the SwitcherButton is set, there's
no need to return a special width here.

Without the override we can also stop setting the size of the iconBin
manually. And since shell_app_create_icon_texture() uses logical pixels
but clutter_actor_set_size() uses screen pixels, that means we now no
longer set the size of the icon back to the unscaled value after it was
already correct.

Fixes https://gitlab.gnome.org/GNOME/gnome-shell/issues/1325

7 years agoaltTab: Fix a wrong variable name
Jonas Dreßler [Thu, 20 Jun 2019 21:09:37 +0000 (23:09 +0200)]
altTab: Fix a wrong variable name

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/587

7 years agoaltTab: Ensure style of this._list before calculating icon sizes
Jonas Dreßler [Thu, 20 Jun 2019 21:01:52 +0000 (23:01 +0200)]
altTab: Ensure style of this._list before calculating icon sizes

We're calculating icon sizes for the alt tab switcher early and at a
point where the style attributes of this._list are not loaded yet. To
make sure the value of this._list.spacing is correct, call
ensure_style() on this._list before accessing the spacing.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/587

7 years agoDo use padding 0 for week and day numbers
Jordi Mas [Mon, 1 Jul 2019 06:53:46 +0000 (08:53 +0200)]
Do use padding 0 for week and day numbers

7 years agosystem: Drop custom styling of user submenu icon
Florian Müllner [Mon, 24 Jun 2019 21:26:41 +0000 (23:26 +0200)]
system: Drop custom styling of user submenu icon

The default style we get from .popup-menu-icon actually works better,
as it ensures consistency with all the other submenu icons used in
the aggregate menu.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/591

7 years agoanimation: fix unintentional loop while polkit dialog is active
Ray Strode [Thu, 27 Jun 2019 18:27:34 +0000 (14:27 -0400)]
animation: fix unintentional loop while polkit dialog is active

The polkit password dialog has a spinner that gets displayed
while the users password is being verified.

Unfortunately, the spinner stop method unintentionally calls
back into itself after the stop fade out animation is complete.
The stop method is called at startup, so the looping begins as
soon as the dialog is visible and continues until the dialog is
dismissed.

This commit fixes the loop by having the stop method cease
calling itself, and instead having it call the stop method on the
superclass.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/602

7 years agoRevert "animation: fix unintentional loop while polkit dialog is active"
Ray Strode [Thu, 27 Jun 2019 18:47:13 +0000 (14:47 -0400)]
Revert "animation: fix unintentional loop while polkit dialog is active"

This reverts commit cb0a5de83bf94d73dc087b8ab879a63116f90f74.

7 years agoanimation: fix unintentional loop while polkit dialog is active
Ray Strode [Thu, 27 Jun 2019 18:27:34 +0000 (14:27 -0400)]
animation: fix unintentional loop while polkit dialog is active

The polkit password dialog has a spinner that gets displayed
while the users password is being verified.

Unfortunately, the spinner stop method unintentionally calls
back into itself after the stop fade out animation is complete.
The stop method is called at startup, so the looping begins as
soon as the dialog is visible and continues until the dialog is
dismissed.

This commit fixes the loop by having the stop method cease
calling itself, and instead having it call the stop method on the
superclass.

7 years agoextensionDownloader: Use common message dialog layout
Florian Müllner [Wed, 26 Jun 2019 17:51:18 +0000 (19:51 +0200)]
extensionDownloader: Use common message dialog layout

While the confirmation dialog for extension installation is simpler
than - say - authentication dialogs, it still makes sense to re-use
the common content layout instead of duplicating it.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/600

7 years agodialog: Use GObject.set() over Object.assign()
Florian Müllner [Wed, 26 Jun 2019 17:16:41 +0000 (19:16 +0200)]
dialog: Use GObject.set() over Object.assign()

gjs has provided that as a more idiomatic replacement for a while.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/600

7 years agomain: Fix some typos and style inconsistencies in comments
Jonas Dreßler [Wed, 26 Jun 2019 10:54:09 +0000 (12:54 +0200)]
main: Fix some typos and style inconsistencies in comments

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/599

7 years agowindowManager: Use own variables for each gesture
Jonas Dreßler [Wed, 26 Jun 2019 16:06:28 +0000 (18:06 +0200)]
windowManager: Use own variables for each gesture

Using one variable to initialize all gestures will update the address of
the "gesture" pointer with every newly initialized object. This means
that event handlers which also use the "gesture" pointer like the
'keyboard-visible-changed' handler will update a different gesture as
soon as the pointer is changed.

This lead to a bug where the handler of 'keyboard-visible-changed'
wrongly nabled the unfullscreen gesture. Fix that by assigning each
gesture its own variable.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/598

7 years agotheme: darken sliders to match gtk
Jakub Steiner [Wed, 26 Jun 2019 10:34:42 +0000 (12:34 +0200)]
theme: darken sliders to match gtk

- match gtk a bit more closely, but avoid the gradients (change will
  happen on gtk side for this one).

7 years agoBump version to 3.33.3
Florian Müllner [Fri, 21 Jun 2019 22:22:52 +0000 (00:22 +0200)]
Bump version to 3.33.3

Update NEWS.

7 years agomain: setup GJS profiler when GJS_TRACE_FD is set
Christian Hergert [Wed, 5 Jun 2019 23:12:47 +0000 (16:12 -0700)]
main: setup GJS profiler when GJS_TRACE_FD is set

This is the same environment variable that will be used in GJS to auto-
connect Sysprof to the GJS profiler when the gjs binary is used.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/573

7 years agoMerge branch 'wip/jimmac/sync-with-adwaita'
Jakub Steiner [Mon, 24 Jun 2019 13:39:26 +0000 (15:39 +0200)]
Merge branch 'wip/jimmac/sync-with-adwaita'

7 years agoUpdate Catalan translation
Jordi Mas [Sun, 23 Jun 2019 07:48:21 +0000 (09:48 +0200)]
Update Catalan translation

7 years agoUpdate Croatian translation
Goran Vidović [Fri, 21 Jun 2019 23:56:14 +0000 (23:56 +0000)]
Update Croatian translation

7 years agopanel: Center-align menu arrows
Florian Müllner [Fri, 14 Jun 2019 18:58:50 +0000 (18:58 +0000)]
panel: Center-align menu arrows

Center alignment looks more balanced and makes it more likely that
the menu opens below the pointer position.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/1351

7 years agolayout: Use addChrome instead of addTopChrome for screenShieldGroup
Jonas Dreßler [Tue, 4 Jun 2019 18:55:29 +0000 (20:55 +0200)]
layout: Use addChrome instead of addTopChrome for screenShieldGroup

Make sure the panel is visible above the login and screen shield actors
by adding the screenShieldGroup to the uiGroup underneath the panelBox.

This fixes a regression introduced with 2bd80579eddba9804871ce6c8de742bdf9b1d800

Fixes: https://gitlab.gnome.org/GNOME/gnome-shell/issues/1330
https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/571

7 years agonetwork: don't assume NMActiveConnection has a device
Will Thompson [Fri, 21 Jun 2019 09:47:40 +0000 (10:47 +0100)]
network: don't assume NMActiveConnection has a device

In practice this has been seen to fail:

    JS ERROR: TypeError: active.get_devices(...)[0] is undefined
    ensureActiveConnectionProps@resource:///org/gnome/shell/ui/status/network.js:73:22
    _getMainConnection@resource:///org/gnome/shell/ui/status/network.js:1791:13
    _syncMainConnection@resource:///org/gnome/shell/ui/status/network.js:1809:32

https://gitlab.gnome.org/GNOME/gnome-shell/issues/1406

7 years agoTheme: update to sync with gtk Adwaita
Frederik Feichtmeier [Tue, 18 Jun 2019 13:29:00 +0000 (15:29 +0200)]
Theme: update to sync with gtk Adwaita

- consistent OSD colors
- consistent fg/bg colors
- updated rounded corners
- switches

Fixes https://gitlab.gnome.org/GNOME/gnome-shell/issues/841

7 years agoDrop CoglError for GError
Niels De Graef [Thu, 20 Jun 2019 08:12:16 +0000 (10:12 +0200)]
Drop CoglError for GError

From https://gitlab.gnome.org/GNOME/mutter/merge_requests/631

```
CoglError was added at a certain point to remove the hard dependency on
GLib, but since this can't be avoided inside mutter, let's remove this
whole abstraction.
```

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/586

7 years agokeyboard: Add extended keys and language popups to top window group
Marco Trevisan (Treviño) [Tue, 18 Jun 2019 22:24:01 +0000 (00:24 +0200)]
keyboard: Add extended keys and language popups to top window group

As per commit 2bd80579ed important actors are added to the top window group
using the layout's addTopChrome method.

This group includes the on-screen keyboard, however its popups were not added
and so they are now shown under the OSK and don't receive any input.

Fix this by adding Language popup and extended keys popup to top chrome.

Fixes https://gitlab.gnome.org/GNOME/gnome-shell/issues/1396
https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/583

7 years agoiconGrid: Fix animation glitch
Florian Müllner [Tue, 18 Jun 2019 18:50:42 +0000 (20:50 +0200)]
iconGrid: Fix animation glitch

Since commit 520cea93941b, the opacity of icon grid children is used
both to skip children outside the current viewport and to hide the
real icons while animating icon clones.

As a result, a grid animation during an animation now ends up showing the
icons that are being animated. Avoid that glitch by leaving children's
opacity alone when there's an ongoing animation.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/582

7 years agoappDisplay: Set Adjustment value after allocation
Marco Trevisan (Treviño) [Mon, 17 Jun 2019 10:59:01 +0000 (12:59 +0200)]
appDisplay: Set Adjustment value after allocation

AllView's adaptToSize is called as part of viewStack allocation vfunc, and this
makes the adjustment value to be reset while relayouting.

So, fix this by delaying this using the Meta later that we already had for
pageIndicators operations.

Fixes: https://gitlab.gnome.org/GNOME/gnome-shell/issues/1392
7 years agoUpdate Dutch translation
Nathan Follens [Tue, 18 Jun 2019 08:33:32 +0000 (08:33 +0000)]
Update Dutch translation

7 years agomain, LoginManager: Call GDM's RegisterSession()
Iain Lane [Thu, 2 May 2019 09:49:12 +0000 (10:49 +0100)]
main, LoginManager: Call GDM's RegisterSession()

So that it can know if we started up properly and use that to (e.g.)
kill its greeter.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/570

7 years agoboxpointer: Remove deprecated show/hide methods
Marco Trevisan (Treviño) [Mon, 17 Jun 2019 10:36:34 +0000 (12:36 +0200)]
boxpointer: Remove deprecated show/hide methods

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/576

7 years agoboxpointer: Trigger a relayout when setting position
Marco Trevisan (Treviño) [Mon, 17 Jun 2019 10:31:48 +0000 (12:31 +0200)]
boxpointer: Trigger a relayout when setting position

Since the repositioning is now done during allocation, we can just queue
a relayout when setting the boxpointer positioning via the source actor.

As per this _relayout() and _updateFlip now needs to be called during allocation
only and with an allocation box set.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/576

7 years agoboxpointer: Don't trigger a relayout when updating arrow side
Marco Trevisan (Treviño) [Thu, 13 Jun 2019 17:40:47 +0000 (19:40 +0200)]
boxpointer: Don't trigger a relayout when updating arrow side

Changing the arrow side might need to reposition the boxpointer, however
if this happens during allocation, we don't need to trigger a new relayout since
we'd set the new allocation once _updateFlip's _reposition call is terminated,
otherwise if the position has changed, changing the boxpointer coordinates
will trigger a relayout anyways.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/576

7 years agoboxpointer: Don't set actor position during allocation
Marco Trevisan (Treviño) [Thu, 13 Jun 2019 17:24:01 +0000 (19:24 +0200)]
boxpointer: Don't set actor position during allocation

As per commit 044572cb60 boxpointer uses its own coordinates to position itself.
However this would lead to warning when mutter-clutter is compiled with debug
options as we'd might try to set the box coordinates during the allocation
cycle.

So, when calling _reposition during allocation, instead of setting the actor's
coordinates we just pass the allocation box and we adjust its origin, in order
to set it properly in the vfunc.

Fixes https://gitlab.gnome.org/GNOME/gnome-shell/issues/1382
https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/576

7 years agoboxpointer: Unset the sourceActor on destruction
Marco Trevisan (Treviño) [Thu, 13 Jun 2019 16:57:38 +0000 (18:57 +0200)]
boxpointer: Unset the sourceActor on destruction

A boxpointer sourceActor could be destroyed before the boxpointer itself.
In such case, unset the sourceActor reference, connecting to 'destroy' signal.

Fixes: https://gitlab.gnome.org/GNOME/gnome-shell/issues/1295
https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/576

7 years agoshell: Remove shell_global_structured_log()
Florian Müllner [Sat, 15 Jun 2019 12:54:39 +0000 (14:54 +0200)]
shell: Remove shell_global_structured_log()

It is now unused.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/579

7 years agomain: Use GLib's structured logging support
Florian Müllner [Sat, 15 Jun 2019 12:48:58 +0000 (14:48 +0200)]
main: Use GLib's structured logging support

We still use our own copy of a libgsystem method for structured
logging, but since then GLib has gained (introspectable) API for
that functionality, so switch to that.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/579

7 years agoiconGrid: Don't hide children inside allocation loop
Marco Trevisan (Treviño) [Thu, 6 Jun 2019 21:21:13 +0000 (23:21 +0200)]
iconGrid: Don't hide children inside allocation loop

Hiding a child implies a parent reallocation, and IconGrid does it for the
children that doesn't fit in the available space, but this could lead to an
allocation recursion cycle. This has been introduced by commit 0e0574a0 to
reduce CPU usage not to using JS vfuncs.

To avoid this, toggle the children opacity instead so that we can achieve the
same visibility result, without any reallocation need.
In this way we also fix the case where hidden children can be shown again,
as _getVisibleChildren doesn't filter-out transparent ones, restoring the
pre-commit 0e0574a0 behavior.

Fixes https://gitlab.gnome.org/GNOME/gnome-shell/issues/1336

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/559

7 years agoshell-app: Fix spelling error
Laurent Bigonville [Sat, 15 Jun 2019 09:29:53 +0000 (11:29 +0200)]
shell-app: Fix spelling error

https://gitlab.gnome.org/GNOME/gnome-shell/issues/1205

7 years agobackground: Group 'changed' signal emission
Marco Trevisan (Treviño) [Tue, 28 May 2019 04:18:34 +0000 (23:18 -0500)]
background: Group 'changed' signal emission

Background is monitoring the whole `org.gnome.desktop.background` gsettings keys
for changes connecting to the non-specialized 'changed' signal and re-emitting
this as-is.
This means that when the background is changed via control-center, we get
multiple 'changed' signal events from GSettings, and for each one of this we
recreate a Background and a BackgroundActor.

Avoid this by using an idle to delay the emission of the 'changed' signal
grouping the events.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/558

7 years agobackground: Use Garbage Collector to dispose background
Marco Trevisan (Treviño) [Tue, 28 May 2019 04:03:17 +0000 (23:03 -0500)]
background: Use Garbage Collector to dispose background

The same Meta.Background could be used by multiple instances of background
actors, and so should not be disposed when the actor using it is destroyed.

Instead of calling `run_dispose` directly on it, just nullify the reference
on destroy method, leaving the job of doing the proper disposition to the
gabage collector that keeps the proper reference count on the Meta.Background.

Fixes https://gitlab.gnome.org/GNOME/gnome-shell/issues/501

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/558

7 years agoUpdate Indonesian translation
Kukuh Syafaat [Fri, 14 Jun 2019 10:36:04 +0000 (10:36 +0000)]
Update Indonesian translation

7 years agoUpdate Friulian translation
Fabio Tomat [Tue, 11 Jun 2019 09:26:26 +0000 (09:26 +0000)]
Update Friulian translation

7 years agoUpdated Spanish translation
Daniel Mustieles [Mon, 10 Jun 2019 10:05:19 +0000 (12:05 +0200)]
Updated Spanish translation

7 years agoaccessibility: Add pointer accessibility support
Olivier Fourdan [Wed, 20 Mar 2019 16:46:12 +0000 (17:46 +0100)]
accessibility: Add pointer accessibility support

Adds the UI part for the pointer accessibility features.

The various timeouts running are notified using a pie-timer showing
under the pointer.

For dwell-click type selection, we use a drop-down menu. Users can
use the dwell-click to select the next type of dwell click to be
emitted.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/474

7 years agotheme: Add pointer accessibility resources
Olivier Fourdan [Wed, 27 Mar 2019 16:12:25 +0000 (17:12 +0100)]
theme: Add pointer accessibility resources

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/474

7 years agosessionMode: add a property to disable window manager menus
Cosimo Cecchi [Sat, 3 Jun 2017 22:37:36 +0000 (15:37 -0700)]
sessionMode: add a property to disable window manager menus

We will use this to disable menus in the initial-setup session.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/569

7 years agoremoteSearch: exclude content from hidden apps
Simon Schampijer [Thu, 9 Nov 2017 17:01:58 +0000 (18:01 +0100)]
remoteSearch: exclude content from hidden apps

Some apps may be configured as NoDisplay=true, but still install
a search provider.
Like we do elsewhere, exclude them from showing up in the UI.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/568

7 years agoshell: Stop using anchor point
Florian Müllner [Wed, 5 Jun 2019 14:46:35 +0000 (14:46 +0000)]
shell: Stop using anchor point

Since the removal of the old (pre-3.16) message tray, legacy tray icons
are very unlikely to be placed in a container that is animated using the
deprecated anchor point.

Just assume that the regular stage position is good enough.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/572

7 years agost: Stop using (deprecated) ClutterAnimation
Florian Müllner [Sat, 26 Sep 2015 03:20:04 +0000 (05:20 +0200)]
st: Stop using (deprecated) ClutterAnimation

Instead, make StAdjustment a ClutterAnimatable and use a property
transition.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/572

7 years agolocatePointer: Add implementation in gnome-shell
Olivier Fourdan [Wed, 20 Feb 2019 09:12:36 +0000 (10:12 +0100)]
locatePointer: Add implementation in gnome-shell

The "locate pointer" functionality was implemented in gnome settings
daemon using X11 protocols and would fail when run under Wayland.

With Wayland, there is no global coordinate space exposed to the clients
so this functionality cannot be implemented as a separate program.

Instead, add the "locate pointer" functionality in gnome-shell so that
it works in both X11 and Wayland.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/981
https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/413
https://gitlab.gnome.org/GNOME/mutter/merge_requests/453
https://gitlab.gnome.org/GNOME/gsettings-desktop-schemas/merge_requests/19
https://gitlab.gnome.org/GNOME/gnome-settings-daemon/merge_requests/86

7 years agolayout: Use the ripples for overview
Olivier Fourdan [Thu, 21 Feb 2019 07:45:17 +0000 (08:45 +0100)]
layout: Use the ripples for overview

As we moved the ripples implementation different class of its own, use
that for switching to overview.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/981
https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/413
https://gitlab.gnome.org/GNOME/mutter/merge_requests/453
https://gitlab.gnome.org/GNOME/gsettings-desktop-schemas/merge_requests/19
https://gitlab.gnome.org/GNOME/gnome-settings-daemon/merge_requests/86

7 years agoripples: Add a new class ripples
Olivier Fourdan [Thu, 21 Feb 2019 07:44:34 +0000 (08:44 +0100)]
ripples: Add a new class ripples

So we can use the same code for both the ripples in overview and the
pointer location.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/981
https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/413
https://gitlab.gnome.org/GNOME/mutter/merge_requests/453
https://gitlab.gnome.org/GNOME/gsettings-desktop-schemas/merge_requests/19
https://gitlab.gnome.org/GNOME/gnome-settings-daemon/merge_requests/86

7 years agoUpdated Spanish translation
Daniel Mustieles [Mon, 3 Jun 2019 10:25:50 +0000 (12:25 +0200)]
Updated Spanish translation

7 years agoUpdate Hungarian translation
Balázs Meskó [Sat, 1 Jun 2019 11:17:41 +0000 (11:17 +0000)]
Update Hungarian translation

7 years agoUpdate Indonesian translation
Kukuh Syafaat [Fri, 31 May 2019 03:52:30 +0000 (03:52 +0000)]
Update Indonesian translation

7 years agosearch: reload search providers when installed applications change
Cosimo Cecchi [Thu, 30 Nov 2017 20:36:31 +0000 (12:36 -0800)]
search: reload search providers when installed applications change

Otherwise, a shell restart will be required after installing a new
application, before its results can be seen in search.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/562

7 years agograbHelper: Throw an error if the owner is not an actor
Marco Trevisan (Treviño) [Wed, 29 May 2019 19:43:27 +0000 (14:43 -0500)]
grabHelper: Throw an error if the owner is not an actor

Starting from commit 7bb84dae, GrabHelper requires the owner to be an Actor as
we pass this to pushModal that assumes it to be as well.

So check that GrabHelper owner is an actor and throws an error if it is not the
case. This helps in tracking down issues such as gnome-shell-extensions!68

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/565

7 years agoPopupMenuManager: Remove unneeded _owner reference
Marco Trevisan (Treviño) [Wed, 29 May 2019 19:40:11 +0000 (14:40 -0500)]
PopupMenuManager: Remove unneeded _owner reference

Nothing inside PopupMenuManager is using the owner, while a reference of it is
already owned by the GrabHelper, so remove this dead property.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/565

7 years agowindowManager: Disable favorite shortcuts without overview
Florian Müllner [Wed, 29 May 2019 15:20:23 +0000 (17:20 +0200)]
windowManager: Disable favorite shortcuts without overview

The `switch-to-application-n` shortcuts are essentially "launch the nth
app in the dash" actions, so they are at the very least confusing when
the dash isn't available because the overview itself is disabled (for
example in initial-setup mode).

So disable the shortcuts when the overview is disabled, but delegate the
decision to a separate function so that extensions like 'panel-favorites'
which expose favorites by some other means can easily re-enable them.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/1333

7 years agowindowMenu: Do actions requiring grab once ungrabbed
Marco Trevisan (Treviño) [Mon, 27 May 2019 21:16:38 +0000 (16:16 -0500)]
windowMenu: Do actions requiring grab once ungrabbed

Resizing or moving a window needs starting a keyboard grab. However, if the
action is triggered by a menu entry activation it might not work as we already
have already an active grab on input devices to manage the menu itself.

So, possibly wait maximum 100ms for the current grab operation to be completed
before trying go start a new one.

Needs https://gitlab.gnome.org/GNOME/mutter/merge_requests/596
Fixes https://gitlab.gnome.org/GNOME/gnome-shell/issues/1326

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/557

7 years agopopupMenu: Connect after to item 'activate' signal
Marco Trevisan (Treviño) [Mon, 27 May 2019 19:45:12 +0000 (14:45 -0500)]
popupMenu: Connect after to item 'activate' signal

A menu item activation might lead to a call to `itemActivated` which eventually
will close the menu which leads to a `PopupMenu.removeAll` that destroys all the
items, stopping the emission of the 'activate' signal for them.

Before commit 4258ae3e this was not happening because destroy'ing a javascript
object wasn't really disposing it and thus stopping the signal emissions.

So, ensure that `itemActivated` is called after that all the other callbacks
have been consumed, and so that the menu is closed as last thing.

Fixes https://gitlab.gnome.org/GNOME/gnome-shell/issues/1326

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/557

7 years agomeson: Do not add compiler flags if 'plain' buildtype is used
Robert Mader [Mon, 29 Apr 2019 10:59:56 +0000 (12:59 +0200)]
meson: Do not add compiler flags if 'plain' buildtype is used

That is how the 'plain' buildtype is meant in meson.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/464

7 years agomeson: Add some compiler arguments to debug builds
Robert Mader [Sun, 17 Mar 2019 13:38:39 +0000 (14:38 +0100)]
meson: Add some compiler arguments to debug builds

To get better debug information.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/464

7 years agoshellMountOperation: Use a Unicode apostrophe in a new string
Piotr Drąg [Tue, 28 May 2019 17:14:19 +0000 (19:14 +0200)]
shellMountOperation: Use a Unicode apostrophe in a new string

See https://developer.gnome.org/hig/stable/typography.html

7 years agoshell-global: don't warn when unsetting non-existent state
Cosimo Cecchi [Sun, 26 May 2019 17:24:25 +0000 (10:24 -0700)]
shell-global: don't warn when unsetting non-existent state

If the state we're trying to delete does not exist, do not log an
error.
Prevents this journal warning at startup:

gnome-shell[1082]: Could not delete runtime/persistent state file: Error removing file /run/user/1000/gnome-shell/runtime-state-LE.:0/screenShield.locked: No such file or directory

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/555

7 years agokeyring-prompt: relax NULL check in remove_mnemonics()
Cosimo Cecchi [Sun, 26 May 2019 17:16:03 +0000 (10:16 -0700)]
keyring-prompt: relax NULL check in remove_mnemonics()

Instead of considering a GValue containing a NULL string to be a
programmer error, simply return NULL.
remove_mnemonics() is in fact called on the value of the
"choice-label" property as well, which has NULL as its default
value.

This prevents triggering the following gnome-shell warning:

gnome-shell[1082]: remove_mnemonics: assertion 'label != NULL' failed

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/555

7 years agomodemManager: improve check for CDMA system identifier
Cosimo Cecchi [Sun, 26 May 2019 16:54:42 +0000 (09:54 -0700)]
modemManager: improve check for CDMA system identifier

Upon construction of the CDMA modem proxy, _reloadCdmaOperatorName()
is called and the value of the Sid property is read.
That property is defined as UINT32 in the D-Bus interface, but the
value may not be loaded yet after the proxy is constructed, in which
case its value will be null.

In _findProviderForSid(), we'll end up calling lookup_cdma_sid(null)
which fails with the following assertion:

gnome-shell[1082]: nma_mobile_providers_database_lookup_cdma_sid: assertion 'sid > 0' failed

This commit changes the (sid == 0) check in _findProviderForSid()
to (!sid) which will also catch the null case.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/555

7 years agowindowAttentionHandler: disconnect signals before destruction
Cosimo Cecchi [Sun, 26 May 2019 15:31:07 +0000 (08:31 -0700)]
windowAttentionHandler: disconnect signals before destruction

The 'destroy' signal is emitted at the end of the destroy() method.
However the implementation of destroy() can end up emitting one of the
signals we connect to on the window, causing us to re-enter destroy
from its callback.
That will in turn lead to some objects getting disposed twice, which
produces a stack trace like the following one.

This commit fixes the issue by overriding the destroy() method instead
of connecting to the signal, which allows us to disconnect the signal
handlers from the window at an earlier time and avoid re-entrancy.

--

gnome-shell[1082]: Object Gio.Settings (0x7f0af8143f00), has been already deallocated — impossible to access it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.
org.gnome.Shell.desktop[1082]: == Stack trace for context 0x5627f7d1e220 ==
org.gnome.Shell.desktop[1082]: #0   5627f9e801a8 i   resource:///org/gnome/shell/ui/messageTray.js:238 (7f0aefa9eca0 @ 22)
org.gnome.Shell.desktop[1082]: #1   5627f9e80108 i   resource:///org/gnome/shell/ui/messageTray.js:802 (7f0aefaa2ee0 @ 28)
org.gnome.Shell.desktop[1082]: #2   5627f9e80070 i   resource:///org/gnome/shell/ui/windowAttentionHandler.js:79 (7f0aef7b29d0 @ 62)
org.gnome.Shell.desktop[1082]: #3   7fffa69fbfc0 b   self-hosted:979 (7f0aefa515e0 @ 440)
org.gnome.Shell.desktop[1082]: #4   5627f9e7ffe0 i   resource:///org/gnome/shell/ui/messageTray.js:121 (7f0aefa9e1f0 @ 71)
org.gnome.Shell.desktop[1082]: #5   5627f9e7ff38 i   resource:///org/gnome/shell/ui/messageTray.js:1408 (7f0aefaa58b0 @ 22)
org.gnome.Shell.desktop[1082]: #6   5627f9e7fe80 i   resource:///org/gnome/shell/ui/messageTray.js:1237 (7f0aefaa51f0 @ 729)
org.gnome.Shell.desktop[1082]: #7   5627f9e7fde8 i   resource:///org/gnome/shell/ui/messageTray.js:1055 (7f0aefaa3d30 @ 124)
org.gnome.Shell.desktop[1082]: #8   7fffa69ff8e0 b   self-hosted:979 (7f0aefa515e0 @ 440)
org.gnome.Shell.desktop[1082]: #9   7fffa69ff9d0 b   resource:///org/gnome/gjs/modules/signals.js:142 (7f0aefccb670 @ 386)
org.gnome.Shell.desktop[1082]: #10   5627f9e7fd58 i   resource:///org/gnome/shell/ui/messageTray.js:479 (7f0aefaa0940 @ 50)
org.gnome.Shell.desktop[1082]: #11   5627f9e7fcb8 i   resource:///org/gnome/shell/ui/messageTray.js:808 (7f0aefaa2ee0 @ 99)
org.gnome.Shell.desktop[1082]: #12   5627f9e7fc28 i   resource:///org/gnome/shell/ui/windowAttentionHandler.js:69 (7f0aef7b28b0 @ 13)
org.gnome.Shell.desktop[1082]: #13   5627f9e7fb80 i   resource:///org/gnome/shell/ui/main.js:566 (7f0aefcd8820 @ 216)
org.gnome.Shell.desktop[1082]: #14   5627f9e7fad0 i   resource:///org/gnome/shell/ui/windowAttentionHandler.js:103 (7f0aef7b2c10 @ 27)
org.gnome.Shell.desktop[1082]: #15   5627f9e7fa58 i   resource:///org/gnome/shell/ui/windowAttentionHandler.js:43 (7f0aef7b2700 @ 17)
org.gnome.Shell.desktop[1082]: #16   7fffa6a03350 b   resource:///org/gnome/gjs/modules/signals.js:142 (7f0aefccb670 @ 386)
org.gnome.Shell.desktop[1082]: #17   5627f9e7f9d0 i   resource:///org/gnome/shell/ui/messageTray.js:471 (7f0aefaa08b0 @ 22)
org.gnome.Shell.desktop[1082]: #18   5627f9e7f950 i   resource:///org/gnome/shell/ui/calendar.js:752 (7f0aefaabdc0 @ 22)
org.gnome.Shell.desktop[1082]: #19   7fffa6a048f0 b   self-hosted:979 (7f0aefa515e0 @ 440)
org.gnome.Shell.desktop[1082]: == Stack trace for context 0x5627f7d1e220 ==
org.gnome.Shell.desktop[1082]: #0   5627f9e801a8 i   resource:///org/gnome/shell/ui/messageTray.js:239 (7f0aefa9eca0 @ 42)
org.gnome.Shell.desktop[1082]: #1   5627f9e80108 i   resource:///org/gnome/shell/ui/messageTray.js:802 (7f0aefaa2ee0 @ 28)
org.gnome.Shell.desktop[1082]: #2   5627f9e80070 i   resource:///org/gnome/shell/ui/windowAttentionHandler.js:79 (7f0aef7b29d0 @ 62)
org.gnome.Shell.desktop[1082]: #3   7fffa69fbfc0 b   self-hosted:979 (7f0aefa515e0 @ 440)
org.gnome.Shell.desktop[1082]: #4   5627f9e7ffe0 i   resource:///org/gnome/shell/ui/messageTray.js:121 (7f0aefa9e1f0 @ 71)
org.gnome.Shell.desktop[1082]: #5   5627f9e7ff38 i   resource:///org/gnome/shell/ui/messageTray.js:1408 (7f0aefaa58b0 @ 22)
org.gnome.Shell.desktop[1082]: #6   5627f9e7fe80 i   resource:///org/gnome/shell/ui/messageTray.js:1237 (7f0aefaa51f0 @ 729)
org.gnome.Shell.desktop[1082]: #7   5627f9e7fde8 i   resource:///org/gnome/shell/ui/messageTray.js:1055 (7f0aefaa3d30 @ 124)
org.gnome.Shell.desktop[1082]: #8   7fffa69ff8e0 b   self-hosted:979 (7f0aefa515e0 @ 440)
org.gnome.Shell.desktop[1082]: #9   7fffa69ff9d0 b   resource:///org/gnome/gjs/modules/signals.js:142 (7f0aefccb670 @ 386)
org.gnome.Shell.desktop[1082]: #10   5627f9e7fd58 i   resource:///org/gnome/shell/ui/messageTray.js:479 (7f0aefaa0940 @ 50)
org.gnome.Shell.desktop[1082]: #11   5627f9e7fcb8 i   resource:///org/gnome/shell/ui/messageTray.js:808 (7f0aefaa2ee0 @ 99)
org.gnome.Shell.desktop[1082]: #12   5627f9e7fc28 i   resource:///org/gnome/shell/ui/windowAttentionHandler.js:69 (7f0aef7b28b0 @ 13)
org.gnome.Shell.desktop[1082]: #13   5627f9e7fb80 i   resource:///org/gnome/shell/ui/main.js:566 (7f0aefcd8820 @ 216)
org.gnome.Shell.desktop[1082]: #14   5627f9e7fad0 i   resource:///org/gnome/shell/ui/windowAttentionHandler.js:103 (7f0aef7b2c10 @ 27)
org.gnome.Shell.desktop[1082]: #15   5627f9e7fa58 i   resource:///org/gnome/shell/ui/windowAttentionHandler.js:43 (7f0aef7b2700 @ 17)
org.gnome.Shell.desktop[1082]: #16   7fffa6a03350 b   resource:///org/gnome/gjs/modules/signals.js:142 (7f0aefccb670 @ 386)
org.gnome.Shell.desktop[1082]: #17   5627f9e7f9d0 i   resource:///org/gnome/shell/ui/messageTray.js:471 (7f0aefaa08b0 @ 22)
org.gnome.Shell.desktop[1082]: #18   5627f9e7f950 i   resource:///org/gnome/shell/ui/calendar.js:752 (7f0aefaabdc0 @ 22)
org.gnome.Shell.desktop[1082]: #19   7fffa6a048f0 b   self-hosted:979 (7f0aefa515e0 @ 440)
gnome-shell[1082]: g_object_run_dispose: assertion 'G_IS_OBJECT (object)' failed
gnome-shell[1082]: Object Gio.Settings (0x7f0af8161750), has been already deallocated — impossible to access it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.
gnome-shell[1082]: g_object_run_dispose: assertion 'G_IS_OBJECT (object)' failed

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/555

7 years agomodalDialog: Use a Gobject property to manage the state
Marco Trevisan (Treviño) [Thu, 23 May 2019 20:58:53 +0000 (15:58 -0500)]
modalDialog: Use a Gobject property to manage the state

Make the state read-only while add a "private" function to set it and notify
when it changes.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/55

7 years agomodalDialog: Inherit from St.Widget
Marco Trevisan (Treviño) [Thu, 23 May 2019 20:45:44 +0000 (15:45 -0500)]
modalDialog: Inherit from St.Widget

Make the dialog a widget itself, removing the `_group` property used for
handling the actor.

Update all the inherited classes to be also GObject implementations, moving all
the signals to proper object ones.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/55

7 years agoshell: Only initialize global->xdisplay on X11 compositors
Carlos Garnacho [Thu, 31 Jan 2019 11:03:34 +0000 (12:03 +0100)]
shell: Only initialize global->xdisplay on X11 compositors

This is just used to set up things that are relevant to X11 compositors
(XDND, XFixes input region). We can live with it unset on the wayland
compositor cases.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/378

7 years agoshell: Do not set XFixes input region on wayland compositors
Carlos Garnacho [Thu, 31 Jan 2019 11:02:39 +0000 (12:02 +0100)]
shell: Do not set XFixes input region on wayland compositors

This is just needed on the X11 compositor, wayland compositors are known
for handling their own input.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/378

7 years agoshell: Use MetaDisplay input focus API
Carlos Garnacho [Tue, 8 Jan 2019 16:14:24 +0000 (17:14 +0100)]
shell: Use MetaDisplay input focus API

Replaces use of (now removed) MetaX11Display focus API (which happened to
work for wayland too).

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/378

7 years agonetwork: Make NMWirelessDialogItem a subclass of St.BoxLayout
Jonas Dreßler [Wed, 22 May 2019 16:27:15 +0000 (18:27 +0200)]
network: Make NMWirelessDialogItem a subclass of St.BoxLayout

In commit 41dd744b7429358a4534e603570d4d1c8acc161b this item was
confused with a popup menu item. To fix this, make NMWirelessDialogItem
inherit from St.BoxLayout instead of adding the item.actor variable back
again.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/551

7 years agoBump version to 3.33.2
Florian Müllner [Wed, 22 May 2019 18:21:15 +0000 (18:21 +0000)]
Bump version to 3.33.2

Update NEWS.

7 years agojs: Throw GObject.NotImplementedError when requiring overriding
Marco Trevisan (Treviño) [Tue, 21 May 2019 20:28:07 +0000 (15:28 -0500)]
js: Throw GObject.NotImplementedError when requiring overriding

Since version 1.50.0, gjs defines GObject.NotImplementedError for throwing
errors when a "virtual" method that requires a subclass implementation is not
defined.

So use this instead of a generic JS Error in such cases.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/549

7 years agoshellMountOperation: Add spinner to password dialog
segfault [Sat, 6 Apr 2019 15:39:29 +0000 (17:39 +0200)]
shellMountOperation: Add spinner to password dialog

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/126

7 years agoshellMountOperation: Support TCRYPT
segfault [Sun, 7 Apr 2019 21:35:07 +0000 (23:35 +0200)]
shellMountOperation: Support TCRYPT

This extends the ShellMountPasswordDialog by widgets which allow
specifying parameters supported by TrueCrypt and VeraCrypt compatible
volumes (TCRYPT). This includes:

 - Whether the volume to be unlocked is hidden.
 - Whether the volume to be unlocked is a system partition.
   Note: TrueCrypt and VeraCrypt only support encrypting Windows
   systems [1], so the label for this option is "Windows System Volume".
 - Whether to use a PIM [2].
 - Whether to use keyfiles. Unfortunately, GMountOperation doesn't
   support TCRYPT keyfiles, so if this checkbox is checked, we tell the
   user that they should unlock the volume with Disks, which supports
   unlocking TCRYPT volumes with keyfiles.

[1] https://www.veracrypt.fr/en/System%20Encryption.html
[2] https://www.veracrypt.fr/en/Header%20Key%20Derivation.html

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/126

7 years agoshellMountOperation: Move password entry to a grid
segfault [Sun, 7 Apr 2019 21:33:34 +0000 (23:33 +0200)]
shellMountOperation: Move password entry to a grid

This prepares for additional UI elements added for TCRYPT support.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/126

7 years agoworkspacesView: remove unused variables
Cosimo Cecchi [Sun, 19 May 2019 15:59:34 +0000 (15:59 +0000)]
workspacesView: remove unused variables

7 years agocalendar-server: Port to libecal-2.0
Milan Crha [Thu, 18 Apr 2019 14:21:43 +0000 (16:21 +0200)]
calendar-server: Port to libecal-2.0

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/501

7 years agoRevert "calendar-server: Port to libecal-2.0"
Florian Müllner [Fri, 17 May 2019 20:23:43 +0000 (22:23 +0200)]
Revert "calendar-server: Port to libecal-2.0"

This reverts commit 71e469a59c78f532bc348df6e0f920ea75be21dc.

7 years agocalendar-server: Port to libecal-2.0
Milan Crha [Fri, 17 May 2019 10:07:57 +0000 (12:07 +0200)]
calendar-server: Port to libecal-2.0

Port the calendar-server code to work with the latest evolution-data-server
API changes.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/501

7 years agoci: Switch to mutter's docker image
Florian Müllner [Fri, 17 May 2019 18:50:00 +0000 (20:50 +0200)]
ci: Switch to mutter's docker image

Mutter's CI now also builds gnome-shell to ensure that a MR doesn't
break the shell. Its docker image has therefore been updated to contain
all our deps as well, so we don't need our own image anymore.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/546

7 years agointrospect: Include `sandboxed-app-id` as well
Florian Müllner [Wed, 15 May 2019 22:57:27 +0000 (00:57 +0200)]
introspect: Include `sandboxed-app-id` as well

App IDs in gnome-shell don't match AppStream, Flatpak or Snap IDs. For the
desktop portal, the latter two are more relevant, so include it in the
returned information.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/1289

7 years agointrospect: Remove unused variable
Florian Müllner [Thu, 16 May 2019 09:48:59 +0000 (09:48 +0000)]
introspect: Remove unused variable

https://gitlab.gnome.org/GNOME/gnome-shell/issues/1289

7 years agoUpdated Spanish translation
Daniel Mustieles [Thu, 16 May 2019 10:41:26 +0000 (12:41 +0200)]
Updated Spanish translation

7 years agolayout: Show important actors above top_window_group
Jonas Dreßler [Fri, 3 May 2019 21:39:11 +0000 (23:39 +0200)]
layout: Show important actors above top_window_group

The top_window_group is used for windows like popup menus, which should
appear above shell chrome like the panel.

Since we want important actors such as the screen keyboard or modal
dialogs to be shown above those windows, add their actors after adding
global.top_window_group to this.uiGroup and provide a new function
addTopChrome() to add important chrome above the top_window_group.

Fixes https://gitlab.gnome.org/GNOME/gnome-shell/issues/917

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/358

7 years agost: Introspect ScrollViewFade to read fade properties
Marco Trevisan (Treviño) [Mon, 13 May 2019 19:01:19 +0000 (14:01 -0500)]
st: Introspect ScrollViewFade to read fade properties

Util.ensureActorVisibleInScrollView takes care of the potential scroll view fade
effect in order to compute the scroll offset, reading the ScrollViewFade's
`vfade-offset` property. This was correctly working until gnome 3.30 cycle.
However such property isn't defined now because since gjs 1.54, it can only
fetch introspected properties and St.ScrollViewFade was considered a private API
not exposed by gir.

Fix this by also introspecting st-scroll-view-fade sources.
Not being considered private anymore, install the header.

Fixes https://gitlab.gnome.org/GNOME/gnome-shell/issues/1061